package com.wdc.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wdc.entity.BookEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 用户 Mapper 接口
 * </p>
 *
 * @author wdc
 * @since 2024-06-06
 */
@Mapper
public interface BookMapper extends BaseMapper<BookEntity> {


    @Select("select * from wdc.book")
    List<BookEntity> selectAll();
}
